package com.project.bean;

import java.time.LocalDate;

public class FacilitiesBean {
    private  int facilitiesId;//设施编号
    private LocalDate damageTime=LocalDate.now();//设施日期
    private  String solve="未解决";//设施解决
    private  String describe;//损坏描述
    private RoomBean room;//所在房间

    public FacilitiesBean() {
    }

    public FacilitiesBean(LocalDate damageTime, String solve, String describe, RoomBean room) {
        this.damageTime = damageTime;
        this.solve = solve;
        this.describe = describe;
        this.room = room;
    }

    @Override
    public String toString() {
        return "FacilitiesBean{" +
                "facilitiesId=" + facilitiesId +
                ", damageTime=" + damageTime +
                ", solve='" + solve + '\'' +
                ", describe='" + describe + '\'' +
                ", room=" + room +
                "}\n";
    }

    public int getFacilitiesId() {
        return facilitiesId;
    }

    public void setFacilitiesId(int facilitiesId) {
        this.facilitiesId = facilitiesId;
    }

    public LocalDate getDamageTime() {
        return damageTime;
    }

    public void setDamageTime(LocalDate damageTime) {
        this.damageTime = damageTime;
    }

    public String getSolve() {
        return solve;
    }

    public void setSolve(String solve) {
        this.solve = solve;
    }

    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }

    public RoomBean getRoom() {
        return room;
    }

    public void setRoom(RoomBean room) {
        this.room = room;
    }
}
